package com.senon.mvpretrofitrx.mvp.test;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Created by Administrator on 2018/4/18.
 */

public interface JuheService {

    String baseUrl = "http://v.juhe.cn/toutiao/";

    @GET("index")
    Observable<BaseResponse<NewsResult>> getNews(@QueryMap Map<String, String> map);

}
